<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>乐淘后台管理系统</title>
	<link rel="stylesheet" type="text/css" href="/secondhand/css/index.css" />
	<script type="text/javascript" src="/secondhand/js/jquery-3.2.1.js"></script>
	<script type="text/javascript" src="/secondhand/js/index.js"></script>
	<script type="text/javascript">
		$(function() {
			var usp=new URLSearchParams(window.location.search);
			var islogin=usp.get("islogin");
			if(islogin != null && islogin==0){
				alert("用户名或密码错误！");
			}//注册成功的提示
			var register=usp.get("register");
			if(register != null && register=="success"){
				alert("注册成功！");
			}
		})

	</script>
</head>
<body>
<div id="total">
	<form action="/secondhand/login.User" method="post">
		<table id="tab">
			<tr>
				<td>用户姓名:</td>
				<td><input type="text" id="username" name="username" placeholder="请输入用户名" /></td>
			</tr>
			<tr>
				<td>用户密码:</td>
				<td><input type="password" id="password" name="password" placeholder="请输入用户密码" /></td>
			</tr>
			<tr>
				<td><input class="tab_in" type="submit" id="submit" value="登录" /></td>
				<td><input class="tab_in" type="button" id="adduser" value="注册"
						   onclick="window.location.href='/secondhand/User/User_toAdd.html'" /></td>
			</tr>
		</table>
	</form>
</div>
</body>
</html>